Part Number Hot Search : 
ICS830 B18T1 25SC6R8M 160AT LD111 A2S1CSQ 1N6147A 20080
Product Description
Full Text Search
 

To Download STA015 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1/55 STA015 STA015b STA015t march 2004 single chip mpeg2 layer 3 decoder supporting: ? all features specified for layer iii in iso/iec 11172-3 (mpeg 1 audio) ? all features specified for layer iii in iso/iec 13818-3.2 (mpeg 2 audio) ? lower sampling frequencies syntax exten- sion, (not specified by iso) called mpeg 2.5 decodes layer iii stereo channels, dual channel, single channel (mono) supporting all the mpeg 1 & 2 sampling frequencies and the extension to mpeg 2.5: 48, 44.1, 32, 24, 22.05, 16, 12, 11. 025, 8 khz accepts mpeg 2.5 layer iii elementary compressed bitstream with data rate from 8 kbit/s up to 320 kbit/s adpcm codec capabilities: ? sample frequency from 8 khz to 32 khz ? sample size from 8 bits to 32 bits ? encoding algorithm: dvi, itu-g726 pack (g723-24, g721,g723-40) ? tone control and fast-forward capability easy programmable gpso interface for encoded data up to 5mbit/s (tqfp44 & lfbga 64) digital volume control digital bass & treble control bypass mode for external audio source serial bitstream input interface easy programmable adc input interface ancillary data extraction via i 2 c interface. serial pcm output interface (i 2 s and other formats) pll for internal clock and for output pcm clock generation crc check and synchronisation error detection with software indicators i 2 c control bus low power 2.4v cmos technology wide range of external crystals frequencies supported applications pc sound cards multimedia players voice recorders description the STA015 is a fully integrated high flexibility mpeg layer iii audio decoder, capable of decod- ing layer iii compressed elementary streams, as specified in mpeg 1 and mpeg 2 iso standards. the device decodes also elementary streams compressed by using low sampling rates, as spec- ified by mpeg 2.5. STA015 receives the input data through a serial input interface. the decoded signal is a stereo, mono, or dual channel digital output that can be sent directly to a d/a converter, by the pcm output interface. this interface is software programmable to adapt the STA015 digital output to the most common dacs architectures used on the market. the func- tional STA015 chip partitioning is described in fig.1a and fig.1b. ordering number: STA015$ (so28) STA015t$ (tqfp44) STA015b$ (lfbga 8x8) so28 tqfp44 lfbga64 mpeg 2.5 layer iii audio decoder with adpcm capability
STA015 STA015b STA015t 2/55 figure 1. 1a. block diagram for tqfp44 and lfbga64 package . 1b. block diagram for so28 package i 2 c control serial input interface buffer 256 x 8 mpeg l iii adpcm core volume & tone control output buffer pcm output interface gpio interface gpso interface parser 25 31 32 reset sda scl 34 36 38 27 bit_en data-req sckr sdi adc input interface 40 26 24 sdi_adc l rck_adc sck_adc sdo iodata [7:0] strobe 42 43 41 39 37 14 16 18 20 35 44 2 3 sckt lrckt gpso_req 4 28 33 gpso_sck r gpso_dat a oclk system & audio clocks xti xto filt testen d99au1116b 15 13 22 12 dsp based tqfp44 i 2 c control serial input interface buffer 256 x 8 mpeg l iii adpcm core volume & tone control output buffer pcm output interface parser 26 34 reset sda scl 5 6 7 28 bit_en g pso_sckr sckr sdi adc input interface 8 27 25 sdi_adc lrck_adc sck_adc sdo 9 10 11 12 sckt lrck t oclk system & audio clocks xti xto filt testen d99au1117b 21 20 24 19 dsp based so28
3/55 STA015 STA015b STA015t figure 2. pin connection vdd_1 vss_1 reset sda scl sckr sdi bit_en sdo vdd_4 vss_4 xti filt xto pvss pvdd vdd_3 vss_3 1 3 2 4 5 6 7 8 9 26 25 24 23 22 20 21 19 27 10 28 vdd_2 testen d99au1061a vss_2 sckt lrckt lrck_adc s rc_int/sck_adc sdi_adc 11 12 13 18 16 17 15 14 oclk gpso_sck r 1 2 3 5 6 4 7 8 9 10 17 11 18 19 20 21 22 44 43 42 41 39 40 38 37 36 35 34 28 27 26 24 23 25 33 32 31 29 30 n.c. lrckt oclk gpso_req vss_2 vdd_2 vss_3 vdd_3 n.c. pvdd pvss filt xto i odata[3] xti i odata[2] n.c. i odata[1] vss_4 i odata[0] vdd_4 testen sdi gpio/strobe sckr iodata[4] bit_en iodata[5] src_int/sck_ad c iodata[6] sdo iodata[7] sckt n.c. sdi_adc reset lrck_adc out_clk/data_re c gpso_sckr vdd_1 vss_1 sda scl gpso_data d99au1062 12 13 14 15 16 a a1 = sdi b2 = sckr d4 = bit_en d1 = src_int e2 = sdo f2 = sckt h1 = lrckt h3 = oclk f3 = vss_2 e4 = vdd_2 g4 = vss_3 g5 = vdd_3 f5 = pvdd g6 = pvss 1 2 3 4 5 6 7 8 b c d e f g h d00au1149 c2 = gpio_strob e c3 = iodata [4] e3 = iodata [5] d2 = iodata [6] f1 = iodata [7] g3 = gpso_req f8 = iodata [3] f6 = iodata [2] e6 = iodata [1] c7 = iodata [0] c6 = gpso_sckr a2 = gpso_data g7 = filt g8 = xto f7 = xti e7 = vss_4 c8 = vdd_4 d7 = testen a7 = sdi_adc b6 = reset a5 = lrck_adc c5 = out_clk/data_req b5 = vdd_1 b4 = vss_1 a4 = sda b3 = scl lfbga64
STA015 STA015b STA015t 4/55 1.0 overview 1.1 mp3 decoder engine the mp3 decoder engine is able to decode any layer iii compliant bitstream: mpeg1, mpeg2 and mpeg2.5 streams are supported. besides audio data decoding the mp3 engine also performs ancil- lary data extraction: these data can be retrieved via i 2 c bus by the application microcontroller in order to implement specific functions. decoded audio data goes through a software volume control and a two-band equalizer blocks before feed- ing the output i2s interface. this results in no need for an external audio processor. mp3 bitstream is sent to the decoder using a simple serial input interface (see pins sdi, sckr, bit_en and data_req), supporting input rate up to 20 mbit/s. received data are stored in a 256 bytes long input buffer which provides a feedback line (see data_req pin) to the bitstream source (tipically an mcu). 1.2 adpcm encoder/decoder engine this device also embeds a multistandard adpcm encoder/decoder supporting different sample rates (from 8 khz up to 32 khz) and different sample sizes (from 8 bit to 32 bits). during encoding process two different interfaces can be used to feed data: the serial input interface (same interface used also to feed mp3 bitstream) or the adc input interface, which provides a seamless con- nection with an external a/d converter. the currently used interface is selected via i 2 c bus. also to retrieve encoded data two different interfaces are available: the i 2 c bus or the faster gpso output interface. gpso interface is able to output data with a bitrate up to 5 mbit/s and its control pins (gpso_sckr, gpso_data and gpso_req) can be configured in order to easily fit the target applica- tion. 1.3 bypass functional mode in order to allow using the device to post-process auxiliary audio sources a special bypass m ode is avail- able. when the device is configured in bypass m ode the embedded dsp will process digital audio data coming through the adc input interface and will output the resulting data to the external dac. available processings include volume and a tone ontrols. thermal data absolute maximum ratings symbol parameter value unit rth j-amb thermal resistance junction to ambient 85 c/w symbol parameter value unit v dd power supply -0.3 to 4 v vi voltage on input pins -0.3 to v dd +0.3 v v o voltage on output pins -0.3 to v dd +0.3 v t stg storage temperature -40 to +150 c t oper operative ambient temp -20 to +85 c
5/55 STA015 STA015b STA015t pin description note: in functional mode testen must be connected to vdd, so28 tqfp44 lfbga64 pin name type function pad description 1 29 b5 vdd_1 supply voltage 2 30 b4 vss_1 ground 3 31 a4 sda i/o i 2 c serial data + acknowledge cmos input pad buffer cmos 4ma output drive 432 b3 scl i i 2 c serial clock cmos input pad buffer 5 34 a1 sdi i receiver serial data cmos input pad buffer 6 36 b2 sckr i receiver serial clock cmos input pad buffer 7 38 d4 bit_en i bit enable cmos input pad buffer with pull up 8 40 d1 src_int/ sck_adc i interrupt line/adc serial clock cmos input pad buffer 9 42 e2 sdo o transmitter serial data (pcm data) cmos 4ma output drive 10 44 f2 sckt o transmitter serial clock cmos 4ma output drive 11 2 h1 lrckt o transmitter left/right clock cmos 4ma output drive 12 3 h3 oclk i/o oversampling clock for dac cmos input pad buffer cmos 4ma output drive 13 5 f3 vss_2 ground 14 6 e4 vdd_2 supply voltage 15 7 g4 vss_3 ground 16 8 g5 vdd_3 supply voltage 17 10 f5 pvdd pll power 18 11 g6 pvss pll ground 19 12 g7 filt o pll filter ext. capacitor conn. 20 13 g8 xto o crystal output cmos 4ma output drive 21 15 f7 xti i crystal input (clock input) specific level input pad (see paragraph 2.1) 22 19 e7 vss_4 ground 23 21 c8 vdd_4 supply voltage 24 22 d7 testen i test enable cmos input pad buffer with pull up 25 24 a7 sdi_adc i adc data input cmos input pad buffer 26 25 b6 reset i system reset cmos input pad buffer with pull up 27 26 a5 lrck_adc i adc left/right clock cmos output pad buffer 28 27 c5 in_clk/ data_req o buffered output clock/ data request signal cmos 4ma output drive 20 c7 iodata[0] i/o gpio data line cmos 4ma schmitt trigger bidir pad buffer 18 e6 iodata[1] i/o gpio data line 16 f6 iodata[2] i/o gpio data line 14 f8 iodata[3] i/o gpio data line 37 c3 iodata[4] i/o gpio data line 39 e3 iodata[5] i/o gpio data line 41 d2 iodata[6] i/o gpio data line 43 f1 iodata[7] i/o gpio data line 35 c2 gpio_strobe i/o gpio strobe signal 4 g3 gpso_req o gpso request signal cmos output pad buffer 28 c6 gpso_sckr i gpso serial clock cmos input pad buffer 33 a2 gpso_data o gpso serial data cmos output pad buffer
STA015 STA015b STA015t 6/55 electrical characteristics: v dd = 3.3v 0.3v; tamb = 0 to 70c; rg = 50 ? unless otherwise specified dc operating conditions general interface electrical characteristics notes: 1. the leakage currents are generally very small, < 1na. the value given here is a maximum that can occur after an electro static stress on the pin. 2. human body model. dc electrical characteristics notes: 1. takes into account 200mv voltage drop in both supply lines. 2. x is the source/sink current under worst case conditions and is reflected in the name of the i/o cell according to the drive capability. notes: 1. min. condition: v dd = 2.7v, 125c min process max. condition: v dd = 3.6v, -20c max. power dissipation symbol parameter value v dd power supply voltage 2.4 to 3.6v t j operating junction temperature -20 to 125c symbol parameter test condition min. typ. max. unit note i il low level input current without pull-up device vi = 0v -10 10 a1 i ih high level input current without pull-up device vi = v dd -10 10 a1 v esd electrostatic protection leakage < 1 a 2000 v 2 symbol parameter test condition min. typ. max. unit note v il low level input voltage 0.2*v dd v v ih high level input voltage 0.8*v dd v v ol low level output voltage i ol = xma 0.4v v 1, 2 v oh high level output voltage 0.85*v dd v1, 2 symbol parameter test condition min. typ. max. unit note i pu pull-up current vi = 0v; pin numbers 7, 24 and 26; -25 -66 -125 a1 r pu equivalent pull-up resistance 50 k ? symbol parameter test condition min. typ max unit note p d power dissipation @ v dd = 2.4v sampling_freq 24 khz 76 mw sampling_freq 32 khz 79 mw sampling_freq 48 khz 85 mw
7/55 STA015 STA015b STA015t figure 3. test circuit figure 4. test load circuit 2.0 functional description 2.1 clock signal the STA015 input clock is derivated from an external source or from a industry standard crystal oscillator, generating input frequencies of 10, 14.31818 or 14.7456 mhz. other frequencies may be supported upon request to stmicroelectronics. each frequency is supported by downloading a specific configuration file, provided by stm xti is an input pad with specific levels. symbol parameter test condition min. typ. max. unit v il low level input voltage v dd -1.8 v v ih high level input voltage v dd -0.8 v v dd 100nf 1 2 v dd 100nf 14 13 v ss v dd 100nf 16 15 v dd 100nf 23 22 v ss v ss v ss 17 18 28 26 reset 24 testen out_clk/data_req v dd pv ss pv dd 100nf 4 .7 f 4.7 f pv dd pv ss v ss 10k 1k 4.7nf pv ss 470pf 19 20 21 8 7 6 5 12 11 10 9 4 3 xto xti scr_int 27 lrck_adc bit_en 25 sdi_adc sckr sdi oclk lrckt sckt sdo scl sda d00au1143 i ol i oh c l v ref v dd output d98au967 test load output i ol i oh c l v ref sda 1ma 100pf 3.6v other outputs 100 a 100 a 100pf 1.5v
STA015 STA015b STA015t 8/55 cmos compatibility the xti pad low and high levels are cmos compatible; xti pad noise margin is better than typical cmos pads. ttl compatibility the xti pad low level is compatible with ttl while the high level is not compatible (for example if v dd = 3v ttl min high level = 2.0v while xti min high level = 2.2v) 2.2 pll & clock generator system when STA015 receives the input clock, as described in section 2.1, and a valid layer iii input bit stream, the internal pll locks, providing to the dsp core the master clock (dclk), and to the audio output inter- face the nominal frequencies of the incoming compressed bit stream. the STA015 pll block diagram is described in figure 5. the audio sample rates are obtained dividing the oversampling clock (oclk) by software programmable factors. the operation is done by STA015 embedded software and it is transparent to the user. the STA015 pll can drive directly most of the ommercial dacs families, providing an over sampling clock, oclk, obtained dividing the vco frequency with a software programmable dividers. figure 5. pll and clocks generation system 2.3 STA015 operational modes the device can be configured in 4 different operational modes. to select one specific mode a dedicated chip_mode registers is available. for proper operation the following steps must be issued to switch be- tween different modes: ? issue a software reset (soft_reset register) ? select the desired mode (chip_mode register) ? run the device (run register) hereby is a short description of each available mode adpcm encoder this mode can be used to encode the incoming bitstream with 4 different compression algorithms. moreover different sample frequencies and word size are supported. for a detailed escription of this features refer to the related registers. adpcm decoder this mode can be used when an adpcm compressed bitstream must be decoded. the input interface handling and control flow is the same as in the mp3 mode. bypass mode using this mode it?s possible to use the embedded post-processing controls (volume and tone controls) to process an incoming uncompressed stereo audio stream. in this configuration adc input is the only
9/55 STA015 STA015b STA015t supported interface. this could be useful, for instance, to process audio data coming from an external tuner or some other auxiliary source. mp3 mode in mp3 mode (default mode) STA015 decodes the incoming bitstream, acting as a master of the data communication from the source to itself. this control is done by a specific buffer management, controlled by STA015 embedded oftware. the data coming from the serial interface are stored in the input buffer, a 256 bytes long fifo. the feedback line data_req actually is the result of the h/w comparison between the writing address of the fifo and the constant value 252. this means that if the buffer is filled up with more than 252 bytes the data_req line goes low, requesting mcu to stop transmission: the maximum time to stop transmitting is given by the time required to transmit 4 bytes (this time, in turn, depends on the bitstream speed used to send mp3 data). the input interface can receive data with a speed up to 20mbit/s. the speed at which the fifo is emptied is equal to the mp3 nominal bitrate. provided the fifo is filled up with 252 bytes the time required to empty it (in worst condition, which is 320kbit/s mpeg stream) is about 6ms. so if no more data is received in this time the buffer will be emptied and this will badly affect the output audio. in this mode the fractional part of the pll is disabled and the audio clocks are generated at nominal rates. fig. 6 describes the default data_req signal behaviour. programming STA015 it is possible to invert the polarity of the data_req line (register req_pol). in order to allow proper operation of the device in broadcast applications a special braodcast mp3 de- coding mode is available. when configured in br oadcast mode the device will operat e as a slave de- coder and no more feedback will be generated to the data source. the output pcm clock will be automatically adjusted by the embedded dsp in order to follow the incoming bitstream rate and to avoid input buffer underrun/overrun. a special configuration file must be used to en- able this operational mode: the file must be downloaded via i 2 c link after device power-on. please contact your local st branch to have more information about. figure 6. data_req control line 2.4 STA015 decoding states there are three different decoder states: idle, init, and decode . commands to change the decoding states are described in the STA015 i 2 c registers description. idle mode iin this mode (entered after a s/w or h/w reset) the decoder is waiting for the run command. this mode should be used to initialize the configuration registers of the device. the dac connected to STA015 can be initialized during this mode (set mute to 1). mute to 1). play mute clock state pcm output x 0 not running 0 x 1 running 0 source send data to STA015 data_req s ource stops transmitting data source stops transmitting dat a d00au1144
STA015 STA015b STA015t 10/55 init mode "play" and "mute" changes are ignored in this mode. the internal state of the decoder will be updated only when the decoder changes from the state "init" to the state "decode". the "init" phase ends when the first decoded samples are at the output stage of the device. decode mode this mode is completely described by the following table: figure 7. mpeg decoder interface figure 8. serial input interface clocks 3.0 interface description 3.1 serial input interface STA015 receives the input data (msb first) through the serial input interface (fig.7). it is a serial commu- nication interface connected to the sdi (serial data input) and sckr (receiver serial clock). the interface can be configured to receive data sampled on both rising and falling edge of the sckr clock. the bit_en pin, when set to low, forces the bitstream input interface to ignore the incoming data. for play mute clock state pcm output decoding 0 0 not running 0 no 0 1 running 0 no 1 0 running decoded samples yes 1 1 running 0 yes data source p mpeg decoder iic d98au912 iic sdo sckt lrckt serial audio interface sdi sckr bit_en xto dac rx tx xti filt pll oclk scl sda data_req sclk_pol= 0 sclk_pol= 4 data ignored data valid sckr sckr sdi b it_en d98au968a data ignored
11/55 STA015 STA015b STA015t proper operation bit_en line should be toggled only when sckr is stable low (for both sclk_pol con- figuration). the possible configurations are described in fig. 8. 3.2 gpso output interface in order to retrieve adpcm encoded data a general purpose serial output interface is available (in tqfp44 and lfbga64 packages only). the maximum frequency for gpso_sckr clock is the dsp sys- tem clock frequency divided by 3 (i.e. 8.192 mhz @ 24.58mhz). the interface is based on a simple and configurable 3-lines protocol, as described by figure 10. 3.3 pcm output interface the decoded audio data are output in serial pcm format. the interface consists of the following signals: sdo pcm serial data output sckt pcm serial clock output lrclk left/right channel selection clock the output samples precision is selectable from 16 to 24 bits/word, by setting the output precision with pcmconf (16, 18, 20 and 24 bits mode) register. data can be output either with the most significant bit first (ms) or least significant bit first ls), selected by writing into a flag of the pcmconf register. figure 9 gives a description of the several STA015 pcm output formats. the sample rates set decoded by STA015 is described in table 1. to enable the gpso interface bit gen of gpso_enable register must be set. using the gpso_conf register the protocol can be configured in order to provide outcoming data on rising/ falling edge of gpso_sckr input clock; the gpso_req request signal polarity (usually connected to an mcu interrupt line) can be configured as well. figure 9. pcm output formats table 1. mpeg sampling rates (khz) mpeg 1 mpeg 2 mpeg 2.5 48 24 12 44.1 22.05 11.025 32 16 8
STA015 STA015b STA015t 12/55 3.4 adc inteface beside the serial input interface based on sdi and sckr lines a 3 wire flexible and user configurable input interface is also available, suitable to interface with most a/d converters. to configure this interface 4 spe- cific i 2 c registers are available (adc_enable, adc_conf, adc_wlen and adc_wpos). refer to registers description for more details. 3.5 general purpose i/o interface a new general purpose i/o interface has been added to this device (tqfp44 and lfbga64 only). actually only the strobe line is used in adpcm encoding mode to provide an interrupt; other pins are reserved for future use. the related configuration register is gpio_conf. see the following summary for related pin usage: 4.0 adpcm encoding: overview according to the previously described interfaces there are 4 ways to manage adpcm data stream while encoding. input interface can be either the serial receiver block (sdi + sckr + data_req lines) or the adc specific interface. output interfaces can be either the i2c bus (with or without interrupt line) or the gpso high-speed serial interface (gpso_req + gpso_ data + gpso_sckr lines). this result in the following 4 methods to handle encoding flow: (*) sta013 compatible mode figure 10. name description dir i/odata [0] .................. i/odata [7] gpio data line i/o ..... i/o gpio_strobe gpio strobe line i/o input (data to encode) output (encoded data) available on package adc i/f (sdi_adc + lrck_adc + sck_adc) gpso i/f (gpso_req + gpso_data + gpso_sckr) tqfp44/lfbga64 adc i/f (sdi_adc + lrck_adc + sck_adc) i 2 c + interrupt (scl + sda +data_req) so28/tqfp44 lfbga64 serial i/f (sckr + sdi + data_req) gpso i/f (gpso_req + gpso_data + gpso_sckr) tqfp44/lfbga64 serial i/f (sckr + sdi + data_req) (*) i 2 c (polling) (scl + sda) so28/tqfp44 lfbga64 STA015 mcu gpso_sckr g pso_sckr gpso_req g pso_data gpso_data gpso_req d00au1145
13/55 STA015 STA015b STA015t figure 11. the following 4 figures (fig. 12, 13, 14, 15) show the available connection diagrams as far as adpcm en- coding function. as shown in the figures some configuration is not available in so28 package. figure 12. input from bitstream, output from i 2 c figure 13. input from adc, output from i 2 c +irq adc i/f encod engine i 2 c gpso mux sda scl data_req l rck_adc sdi_adc sck_adc gpso_req gpso_dat a gpso_sck r serial receiver sdi sckr d ata_req d99au1064 sdi sckr lrckt sckt sdo oclk data_req mcu dac bit_en i 2 c d99au1121a so28 tqfp44 lfbga64 sta013 compatible mode data_req data_req lrck_adc sdi_adc sdo lrckt sckt sck_adc sdi_adc i 2 c i 2 c oclk mcu adc slave mcu adc master dac dac STA015 STA015 d99au1123a oclk sdo sckt lrckt so28 tqfp44 lfbga64 so28 tqfp44 lfbga64
STA015 STA015b STA015t 14/55 figure 14. input from bitstream, output from gpso figure 15. input from adc, output from gpso 5.0 i 2 c bus specification the STA015 supports the i 2 c protocol. this protocol defines any device that sends data on to the bus as a transmitter and any device that reads the data as a receiver. the device that controls the data transfer is known as the master and the others as the slave. the master always starts the transfer and provides the serial clock for synchronisation. the STA015 is always a slave device in all its communications. 5.1 communication protocol 3.1.0 - data transition or change data changes on the sda line must only occur when the scl clock is low. sda transition while the clock is high are used to identify start or stop condition. 5.1.1 start condition start is identified by a high to low transition of the data bus sda signal while the clock signal scl is stable in the high state. a start condition must precede any command for data transfer. 5.1.2 stop condition stop is identified by low to high transition of the data bus sda signal while the clock signal scl is stable in the high state. a stop condition terminates communications between STA015 and the bus master. 5.1.3 acknowledge bit an acknowledge bit is used to indicate a successful data transfer. the bus transmitter, either master or slave, releases the sda bus after sending 8 bit of data. during the 9th clock pulse the receiver pulls the sda bus low to acknowledge the receipt of 8 bits of data. sdi gpso_req gpso_sckr gpso_data sckr lrckt sckt sdo oclk data_req mcu dac STA015 bit_en i 2 c d99au1122a tqfp44 lfbga64 gpso_sckr gpso_req lrck_adc sck_adc sdi_adc gpso_data mcu adc master dac STA015 d99au1124a oclk sdo sckt lrckt tqfp44 lfbga64
15/55 STA015 STA015b STA015t 5.1.4 data input during the data input the STA015 samples the sda signal on the rising edge of the clock scl. for correct device operation the sda signal has to be stable during the rising edge of the clock and the data can change only when the scl line is low. 5.2 device addressing to start communication between the master and the STA015, the master must initiate with a start condi- tion. following this, the master sends onto the sda line 8 bits (msb first) corresponding to the device se- lect address and read or write mode. the 7 most significant bits are the device address identifier, corresponding to the i 2 c bus definition. for the STA015 these are fixed as 1000011. the 8th bit (lsb) is the read or write operation rw, this bit is set to 1 in read mode and 0 for write mode. after a start condition the STA015 identifies on the bus the device address and, if a match is found, it acknowledges the identification on sda bus during the 9th bit time. the following byte after the device identification byte is the internal space address. 5.3 write operation (see fig. 16) following a start condition the master sends a device select code with the rw bit set to 0. the STA015 acknowledges this and waits for the byte of internal address. after receiving the internal bytes address the STA015 again responds with an acknowledge. 5.3.1 byte write in the byte write mode the master sends one data byte, this is acknowledged by STA015. the master then terminates the transfer by generating a stop condition. 5.3.2 multibyte write the multibyte write mode can start from any internal address. the transfer is terminated by the master generating a stop condition. figure 16. write mode sequence figure 17. read mode sequence dev-addr ack start d98au825b rw sub-addr ack data in ack stop byte write dev-addr ack start rw sub-addr ack data in ack stop multibyte write data in ack dev-addr ack start d98au826a rw data no ack stop current address read dev-addr ack start rw sub-addr ack dev-addr ack stop random address read data no ack start rw dev-addr ack start data ack data ack stop sequential current read data no ack dev-addr ack start rw sub-addr ack dev-addr ack sequential random read data ack start rw data ack no ack stop data rw= high
STA015 STA015b STA015t 16/55 5.4 read operation (see fig. 17) 5.4.1 current byte address read the STA015 has an internal byte address counter. each time a byte is written or read, this counter is in- cremented. for the current byte address read mode, following a start condition the master sends the device address with the rw bit set to 1. the STA015 acknowledges this and outputs the byte addressed by the internal byte address counter. the master does not acknowledge the received byte, but terminates the transfer with a stop condition. 5.4.2 sequential address read this mode can be initiated with either a current address read or a random address read. however in this case the master does acknowledge the data byte output and the STA015 continues to output the next byte in sequence. to terminate the streams of bytes the master does not acknowledge the last received byte, but terminates the transfer with a stop condition. the output data stream is from consecutive byte ad- dresses, with the internal byte address counter automatically incremented after one byte output. 6.0 i 2 c registers the following table gives a description of the mpeg source decoder (STA015) register list. the first column (hex_cod) is the hexadecimal code for the sub-address. the second column (dec_cod) is the decimal code. the third column (description) is the description of the information contained in the register. the fourth column (reset) inidicate the reset value if any. when no reset value is specifyed, the default is "undefined". the fifth column (r/w) is the flag to distinguish register "read only" and "read and write", and the useful size of the register itself. each register is 8 bit wide. the master shall operate reading or writing on 8 bits only. i 2 c registers hex_cod dec_cod description reset r/w $00 0 version r (8) $01 1 ident 0xac r (8) $05 5 pllctl [7:0] 0xa1 r/w (8) $06 6 pllctl [20:16] (mf[4:0]=m) 0x0c r/w (8) $07 7 pllctl [15:12] (idf[3:0]=n) 0x00 r/w (8) $0c 12 req_pol 0x01 r/w (8) $0d 13 sclk_pol 0x04 r/w (8) $0f 15 error_code 0x00 r (8) $10 16 soft_reset 0x00 w (8) $13 19 play 0x01 r/w(8) $14 20 mute 0x00 r/w(8) $16 22 cmd_interrupt 0x00 r/w(8) $18 24 data_req_enable 0x00 r/w(8) $40 - $51 64 - 81 adpcm_data_1 to adpcm_data_18 0x00 r (8) $40 64 syncstatus 0x00 r (8) $41 65 anccount_l 0x00 r (8) $42 66 anccount_h 0x00 r (8) $43 67 head_h[23:16] 0x00 r(8) $44 68 head_m[15:8] 0x00 r(8)
17/55 STA015 STA015b STA015t notes: 1. the hex_cod is the hexadecimal adress that the microcontroller has to generate to access the information. 2. reserved: register used for production test only, or for future use. $45 69 head_l[7:0] 0x00 r(8) $46 70 dla 0x00 r/w (8) $47 71 dlb 0xff r/w (8) $48 72 dra 0x00 r/w (8) $49 73 drb 0xff r/w (8) $4d 77 chip_mode 0x00 r/w (2) $4e 78 crcr 0x00 r/w (1) $50 80 mfsdf_441 0x00 r/w (8) $51 81 pllfrac_441_l 0x00 r/w (8) $52 82 adpcm_data_ready 0x00 r/w (1) $52 82 pllfrac_441_h 0x00 r/w (8) $53 83 adpcm_sample_freq 0x00 r/w (4) $54 84 pcm divider 0x03 r/w (8) $55 85 pcmconf 0x21 r/w (8) $56 86 pcmcross 0x00 r/w (8) $61 97 mfsdf (x) 0x07 r/w (8) $63 99 dac_clk_mode 0x00 r/w (8) $64 100 pllfrac_l 0x46 r/w (8) $65 101 pllfrac_h 0x5b r/w (8) $67 103 frame_cnt_l 0x00 r (8) $68 104 frame_cnt_m 0x00 r (8) $69 105 frame_cnt_h 0x00 r (8) $6a 106 average_bitrate 0x00 r (8) $71 113 softversion r (8) $72 114 run 0x00 r/w (8) $77 119 treble_frequency_low 0x00 r/w (8) $78 120 treble_frequency_high 0x00 r/w (8) $79 121 bass_frequency_low 0x00 r/w (8) $7a 122 bass_frequency_high 0x00 r/w (8) $7b 123 treble_enhance 0x00 r/w (8) $7c 124 bass_enhance 0x00 r/w (8) $7d 125 tone_atten 0x00 r/w (8) $7e - b5 126 - 181 anc_data_1 to anc_data_56 0x00 r (8) $b6 182 isr 0x00 r/w (1) $b8 184 adpcm_config 0x00 r/w (2) $b9 185 gpso_enable 0x00 r/w (1) $ba 186 gpso_conf 0x00 r/w (2) $bb 187 adc_enable 0x00 r/w (1) $bc 188 adc_conf 0x00 r/w (5) $bd 189 adpcm_frame_size 0x00 r/w (8) $be 190 adpcm_int_cfg 0x00 r/w (8) $bf 191 gpio_conf 0x00 r/w (2) $c0 192 adc_ wlen 0x0f r/w (5) $c1 193 adc_ wpos 0x00 r/w (5) $c2 194 adpcm_skip_frame 0x00 r/w (8) i 2 c registers
STA015 STA015b STA015t 18/55 6.1 STA015 registers description the STA015 device includes 128 i 2 c registers. in this document, only the user-oriented registers are de- scribed. the undocumented registers are reserved. these registers must never be accessed (in read or in write mode). the read-only registers must never be written. the following table describes the meaning of the abbreviations used in the i 2 c registers description: version address: 0x00 (00) type: ro the version register is read-only and it is used to identify the ic on the application board. ident address: 0x01 type: ro software reset: 0xac hardware re set: 0xac ident is a read-only register and is used to identify the ic on an application board. ident always has the value "0xac" pllctl address: 0x05 type: r/w software reset: 0x21 hardware reset: 0x21 symbol comment na not applicable und undefined nc no charge ro read only wo write only r/w read and write r/ws read, write in specific mode msb lsb b7 b6 b5 b4 b3 b2 b1 b0 v8 v7 v6 v5 v4 v3 v2 v1 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 10101100 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xto_buf xtodis oclken sys2oclk ppldis xti2dspclk xti2oclk upd_frac
19/55 STA015 STA015b STA015t upd_frac: when is set to 1, update frac in the switching circuit. it is set to 1 after autoboot. xti2oclk: when is set to 1, use the xti as input of the divider x instead of vco output. it is set to 0 on hw reset. xti2dspclk: when is to 1, set use the xti as input of the divider s instead of vco output. it is set to 0 on hw reset. plldis: when set to 1, the vco output is disabled. it is set to 0 on hw reset. sys2oclk: when is set to 1, the oclk frequency is equal to the system frequency. it is useful for testing. it is set to 0 on hw reset. oclken: when is set to 1, the oclk pad is enable as output pad. it is set to 1 on hw reset. xtodis: when is set to 1, the xto pad is disable. it is set to 0 on hw reset. xto_buf: when this bit is set, the pin nr. 28 (out_clock/data_req) is enabled. it is set to 0 after autoboot. pllctl (m) address: 0x06 (06) type: r/w software reset: 0x0c hardware reset: 0x0c pllctl (n) address: 0x07 (07) type: r/w software reset: 0x00 hardware reset: 0x00 the m and n registers are used to configure the STA015 pll by dsp embedded software. m and n registers are r/w type but they are completely controlled, on STA015, by dsp software. req_pol address: 0x0c (12) type: r/w software reset: 0x01 hardware reset: 0x00 the req_pol registers is used to program the polarity of the data_req line. d efault polarity (the source sends data when the data_req line is high) inverted polarity (the source sends data when the ata_req line is low) msb lsb b7 b6 b5 b4 b3 b2 b1 b0 00000001 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 00000101
STA015 STA015b STA015t 20/55 sckl_pol address: 0x0d (13) type: r/w software reset: 0x04 hardware reset: 0x04 x = don?t care sckl_pol is used to select the working polarity of the input serial clock (sckr). (1) if sckl_pol is set to 0x00, the data (sdi) are sent with the falling edge of sckr and sampled on the rising edge. (2) if sckl_pol is set to 0x04, the data (sdi) are sent with the rising edge of sckr and sampled on the falling edge. error_code address: 0x0f (15) type: ro software reset: 0x00 hardware reset: 0x00 x = don?t care error_code register contains the last error occourred if any. the codes can be as follows: msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxx0 0 0(1) 100(2) msb lsb b7 b6 b5 b4 b3 b2 b1 b0 x x ec5 ec4 ec3 ec2 ec1 ec0 code description 0x00 no error since the last sw or hw reset 0x01 crc failure 0x02 data not available 0x04 ancillary data not read 0x10 audio synch word not found 0x2x mpeg header error 0x3x mpeg decoding errors
21/55 STA015 STA015b STA015t soft_reset address: 0x10 (16) type: wo software reset: 0x00 hardware reset: 0x00 x = don?t care; 0 = normal operation; 1 = reset when this register is written, a soft reset occours. the STA015 core command register and the interrupt register are cleared. the decoder goes in to idle mode. play address: 0x13 (19) type: r/w software reset: 0x01 hardware reset: 0x01 x = don?t care; 0 = normal operation; 1 = play the play command is handled according to the state of the decoder, as described in section 2.5. play only becomes active when the decoder is in decode mode. mute address: 0x14 type: r/w software reset: 0x00 hardware reset: 0x00 x = don?t care; 0 = normal operation; 1 = mute the mute command is handled according to the state of the decoder, as described in section 2.5. mute sets the clock running. msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxx0 1 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxx0 1 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxx0 1
STA015 STA015b STA015t 22/55 cmd_interrupt address: 0x16 (22) type: r/w software reset: 0x00 hardware reset: 0x00 x = don?t care; 0 = normal operation; 1 = write into i 2 c/ancillary data the interrupt is used to give STA015 the command to write into the i 2 c/ancillary data buffer (regis- ters: 0x7e ... 0xb5). every time the master has to extract the new buffer content it writes into this register, setting it to a non-zero value. data_req_enable address: 0x18 (24) type: r/w software reset: 0x00 hardware reset: 0x00 the data_req_enable register is used to configure pin n. 28 working as buffered output clock or data request signal, used for multimedia mode. the buffered output clock has the same frequency than the input clock (xti) syncstatus address: 0x40 (64) type: ro software reset: 0x00 hardware reset: 0x00 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxx0 1 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description x x x x x 0 x x buffered output clock x x x x x 1 x x request signal msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description xxxxxxss1ss0 0 0 research of sync word 0 1 wait for confirmation 1 0 synchronised
23/55 STA015 STA015b STA015t adpcm_data buffer address: 0x40 - 0x51 (64 - 81) type: r/w software reset: 0x00 hardware reset: 0x00 anccount_l address: 0x41 (65) type: ro software reset: 0x00 hardware reset: 0x00 anccount_h address: 0x42 (66) type: ro software reset: 0x00 hardware reset: 0x00 anccount_h anccount registers are logically concatenated and indicate the number of ancillary data bits available at every correctly decoded mpeg frame. head_h[23:16] x = don?t care msb lsb b7 b6 b5 b4 b3 b2 b1 b0 encoded data n to n+18 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 ac7 ac6 ac5 ac4 ac3 ac2 ac1 ac0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 ac15 ac14 ac13 ac12 ac11 ac10 ac9 ac8 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 x x x h20 h19 h18 h17 h16
STA015 STA015b STA015t 24/55 head_m[15:8] head_l[7:0] address: 0x43, 0x44, 0x45 (67, 68, 69) type: ro software reset: 0x00 hardware reset: 0x00 head[1:0] emphasis head[2] original/copy head[3] copyrighthead [5:4] mode extension head[7:6] mode head[8] private bit head[9] padding bit head[11:10] sampling frequency index head[15:12] bitrate index head[16] protection bit head[18:17] layer head[19] id head[20] id_ex the head registers can be viewed as logically concatenated to store the mpeg layer iii header content. the set of three registers is updated every time the synchronisation to the new mpeg frame is achieved the meaning of the flags are shown in the following tables: mpeg ids layer in layer iii these two flags must be set always to "01". protection_bit it equals "1" if no redundancy has been added and "0" if redundancy has been added. msb lsb b7 b6 b5 b4 b3 b2 b1 b0 h15 h14 h13 h12 h11 h10 h9 h8 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 h7 h6 h5 h4 h3 h2 h1 h0 idex id 0 0 mpeg 2.5 01reserved 10mpeg 2 11mpeg 1
25/55 STA015 STA015b STA015t bitrate_index indicates the bitrate (kbit/sec) depending on the mpeg id. sampling frequency indicates the sampling frequency of the encoded audio signal (khz) depending on the mpeg id padding bit if this bit equals ?1?, the frame contains an additional slot to adjust the mean bitrate to the sampling fre- quency, otherwise this bit is set to ?0?. private bit bit for private use. this bit will not be used in the future by iso/iec. mode indicates the mode according to the following table. the joint stereo mode is intensity_stereo and/or ms_stereo. bitrate index id = 1 id = 0 ?0000? free free ?0001? 32 8 ?0010? 40 16 ?0011? 48 24 ?0100? 56 32 ?0101? 64 40 ?0110? 80 48 ?0111? 96 56 ?1000? 112 64 ?1001? 128 80 ?1010? 160 96 ?1011? 192 112 ?1100? 224 128 ?1101? 256 144 ?1110? 320 160 ?1111? forbidden forbidden sampling frequency mpeg1 mpeg2 mpeg2.5 ?00? 44.1 22.05 11.03 ?01? 48 24 12 ?10? 32 16 8 ?11? reserved reserved reserved mode mode specified ?00? stereo ?01? joint stereo (intensity_stereo and/or ms_stereo) ?10? dual_channel ?11? single_channel (mono)
STA015 STA015b STA015t 26/55 mode extension these bits are used in joint stereo mode. they indicates which type of joint stereo coding method is ap- plied. the frequency ranges, over which the intensity_stereo and ms_stereo modes are applied, are im- plicit in the algorithm. copyright if this bit is equal to ?0?, there is no copyright on the bitstream, ?1? means copyright protected. original/copy this bit equals ?0? if the bitstream is a copy, ?1? if it is original. emphasis indicates the type of de-emphasis that shall be used. dla address: 0x46 (70) type: r/w software reset: 0x00 hardware reset: 0x00 dla register is used to attenuate the level of audio output at the left channel using the butterfly shown in fig. 18. when the register is set to 255 (0xff), the maximum attenuation is achieved. a decimal unit correspond to an attenuation step of 1 db. figure 18. volume control and output setup emphasis emphasis specified ?00? none ?01? 50/15 microseconds ?10? reserved ?11? ccitt j, 17 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description dla7 dla6 dla5 dla4 dla3 dla2 dla1 dla0 output attenuation 0 000000 0 no attenuation 0 000000 1 -1db 0 000001 0 -2db : :::::: : : 0 110000 0 -96db x dla + x output left channel dsp left channel dlb x dra + x output right channel dsp right channel drb d97au667
27/55 STA015 STA015b STA015t dlb address: 0x47 (71) type: r/w software reset: 0xff hardware re set: 0xff dlb register is used to re-direct the left channel on the right, or to mix both the channels. default value is 0x00, corresponding at the maximum attenuation in the re-direction channel. dra address: 0x48 (72) type: r/w software reset: 0x00 hardware reset: 0x00 dra register is used to attenuate the level of audio output at the right channel using the butterfly shown in fig. 11. when the register is set to255 (0xff), the maximum attenuation is achieved. a decimal unit correspond to an attenuation stepof 1 db. msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description dlb7 dlb6 dlb5 dlb4 dlb3 dlb2 dlb1 dlb0 output attenuation 00000000 no attenuation 00000001 -1db 00000010 -2db :::::::: : 01100000 -96db msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description dra7 dra6 dra5 dra4 dra3 dra2 dra1 dra0 output attenuation 0 0 0 0 0 0 0 0 no attenuation 0 000000 1 -1db 0 000001 0 -2db : :::::: : : 0 110000 0 -96db
STA015 STA015b STA015t 28/55 drb address: 0x49 (73) type: r/w software reset: 0xff hardware re set: 0xff drb register is used to re-direct the right channel on the left, or to mix both the channels. default value is 0x00, corresponding at the maximum attenuation in the re-direction channel. chip_mode address: 0x4d (77) type: r/w hardware reset: 0x00 using this register it?s possible to select which operation will be performed by the dsp. possible values are: 0x00 - mp3 decoding 0x01 - reserved 0x02 - adpcm encoder 0x03 - adpcm decoder 0x04 - bypass mode the dsp will check for the value of this register right after the run command has been issued (refer to run register). after that no more checks w ill be performed: therefore a soft_r eset must be generated in order to change the device mode. crcr address: 0x4e (78) type: r/w software reset: 0x00 hardware reset: 0x00 the crc register is used to enable/disable the crc check. if crc_en bit is cleared, the crc value en- coded in the bitstream is checked against the hardware one. if a discrepance occurs, the current frame is skipped and the decoder is muted. the error_code register is affected with the value 0x01. msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description drb7 drb6 drb5 drb4 drb3 drb2 drb1 drb0 output attenuation 0 0 0 0 0 0 0 0 no attenuation 0 000000 1 -1db 0 000001 0 -2db : :::::: : : 0 110000 0 -96db msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxxcrcen
29/55 STA015 STA015b STA015t if crc_en bit is set, the result of the crc check is ignored, but the error_code register is neverthe- less affected with the value 0x01 if a discrepance has occurred. mfsdf_441 address: 0x50 (80) type: r/w software reset: 0x00 hardware reset: 0x00 this register contains the value for the pll x driver for the 44.1khz reference frequency. the vco output frequency, when decoding 44.1khz bitstream, is divided by (mfsdf_441 +1) pllfrac_441_l address: 0x51 (81) type: r/w software reset: 0x00 hardware reset: 0x00 adpcm_data_ready address: 0x52 (82) type: r/w software reset: 0x00 hardware reset: 0x00 adr: adpcm data ready this bit signal adpcm encoded data are ready to be retrieved. pllfrac_441_h address: 0x52 (82) type: r/w software reset: 0x00 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 x x x m4m3m2m1m0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 pf7 pf6 pf5 pf4 pf3 pf2 pf1 pf0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxxadr
STA015 STA015b STA015t 30/55 hardware reset: 0x00 the registers are considered logically concatenated and contain the fractional values for the pll, for 44.1khz reference frequency. (see also pllfrac_l and pllfrac_h registers) adpcm_sample_freq address: 0x53 (83) type: r/w software reset: 0x00 hardware reset: 0x00 adpcm_sf: adpcm sample frequency pcmdivider address: 0x54 (84) type: rw software reset: 0x01 hardware reset: 0x01 pcmdivider is used to set the frequency ratio between the oclk (oversampling clock for dacs), and the sckt (serial audio transmitter clock). the relation is the following: the oversampling factor (o_fac) is related to oclk and sckt by the following expression: 1) oclk_freq = o_fac * lrckt_ freq (dac relation) 2) oclk_ freq = 2 * (1+pcm_div) * 32* lrckt_freq (when 16 bit pcm mode is used) 3) oclk_ freq = 2 * (1+pcm_div) * 64* lrckt_freq (when 32 bit pcm mode is used) msb lsb b7 b6 b5 b4 b3 b2 b1 b0 pf15 pf14 pf13 pf12 pf11 pf10 pf19 pf8 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxx adpcm_sf 0x02 8khz 0x0a 16khz 0x0e 32khz msb lsb b7 b6 b5 b4 b3 b2 b1 b0 pd7 pd6 pd5 pd4 pd3 pd2 pd1 pd0 s ckt_freq oclk_freq 21 pcm_div + () ------------------------------------------- -- - =
31/55 STA015 STA015b STA015t 4) pcm_div = (o_fac/64) - 1 in 16 bit mode 5) pcm_div = (o_fac/128) - 1 in 32 bit mode example for setting: pcmconf address: 0x55 (85) type: r/w software reset: 0x21 hardware reset: 0x21 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description pd7 pd6 pd5 pd4 pd3 pd2 pd1 pd0 0 0 0 0 0 1 1 1 16 bit mode 512 x fs 0 0 0 0 0 1 0 1 16 bit mode 384 x fs 0 0 0 0 0 0 1 1 16 bit mode 256 x fs 0 0 0 0 0 0 1 1 32 bit mode 512 x fs 0 0 0 0 0 0 1 0 32 bit mode 384 x fs 0 0 0 0 0 0 0 1 32 bit mode 256 x fs for 16 bit pcm mode for 32 bit pcm mode o_fac = 512 ; pcm_div = 7 o_fac = 512 ; pcm_div = 3 o_fac = 256 ; pcm_div = 3 o_fac = 256 ; pcm_div = 1 o_fac = 384 ; pcm_div = 5 o_fac = 384 ; pcm_div = 2 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description x ord dif inv for scl prec (1) prec (1) x 1 pcm order the ls bit is transmitted first x 0 pcm order the ms bit is transmitted first x 0 the word is right aligned x 1 the word is left aligned x0 lrckt polarity compliant to i 2 s format x 1 lrckt polarity inverted x0 i 2 s format x 1 different formats x 1 data are sent on the rising edge of sckt x 0 data are sent on the falling edge of sckt x 0 0 16 bit mode (16 slots transmitted) x 0 1 18 bit mode (32 slots transmitted) x 1 0 20 bit mode (32 slots transmitted) x 1 1 24 bit mode (32slots transmitted)
STA015 STA015b STA015t 32/55 pcmconf is used to set the pcm output interface configuration: ord: pcm order. if this bit is set to?1?, the ls bit is transmitted first, otherwise ms bit is transmiited first. dif: pcm_diff. it is used to select the position of the valid data into the transmitted word. this setting is significant only in 18/20/24 bit/word mode.if it is set to ?0? the word is right-padded, otherwise it is left-pad- ded. inv (fig.13): it is used to select the lrckt clock polarity. if it is set to ?1? the polarity is compliant to i 2 s format (low -> left , high -> right), otherwise the lrckt is inverted. the default value is ?0?. (if i 2 s have to be selected, must be set to ?1? in the ta013 configuration phase). figure 19. lrckt polarity selection for: format is used to select the pcm output interface format. after hw and sw reset the value is set to 0 corresponding to i 2 s format. scl (fig.14): used to select the transmitter serial clock polarity. if set to ?1? the data are sent on the falling edge and sampled on the rising. this last option is the most commonly used by the commercial dacs. the default configuration for this flag is ?0?. figure 20. sckt polarity selection prec [1:0]: pcm precision it is used to select the pcm samples precision, as follows: ?00?: 16 bit mode (16 slots transmitted) ?01?: 18 bit mode (32 slots transmitted) ?10?: 20 bit mode (32 slots transmitted) ?11?: 24 bit mode (32 slots transmitted) the pcm samples precision in STA015 can be 16 or 18-20-24 bits. when STA015 operates in 16 (18-20-24) bits mode, the number of bits transmitted during a lrclt period is 32 (64). left l rckt l rckt inv_lrclk= 1 inv_lrclk= 0 left right right left left d00au1192
33/55 STA015 STA015b STA015t pcmcross address: 0x56 (86) type: r/w software reset: 0x00 hardware reset: 0x00 the default configuration for this register is ?0x00?. mfsdf (x) address: 0x61 (97) type: r/w software reset: 0x07 hardware reset: 0x07 the register contains the values for pll x divider (see fig. 7). the value is changed by the internal STA015 core, to set the clocks frequencies, according to the incom- ing bitstream. this value can be even set by the user to select the pcm interface configuration. the vco output frequency is divided by (x+1). this register is a reference for 32khz and 48khz input bitstream. dac_clk_mode (99) address: 0x63 type: rw software reset: 0x00 hardware reset: 0x00 this register is used to select the operating mode for oclk clock signal. if it is set to ?1?, the oclk fre- quency is fixed, and it is mantained to the value fixed by the user even if the sampling frequency of the incoming bitstream changes. it the mode flag is set to f0f, the oclk frequency changes, and can be set to (512, 384, 256) * fs. the default configuration for this mode is 256 * fs. when this mode is selected, msb lsb b7 b6 b5 b4 b3 b2 b1 b0 description x x x x x x 0 0 left channel is mapped on the left output. right channel is mapped on the right output x x x x x x 0 1 left channel is duplicated on both output channels. x x x x x x 1 0 right channel is duplicated on both output channels x x x x x x 1 1 right and left channels are toggled msb lsb b7 b6 b5 b4 b3 b2 b1 b0 x x x m4m3m2m1m0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxxmode
STA015 STA015b STA015t 34/55 the default oclk frequency is 12.288 mhz. pllfrac_l ([7:0]) pllfrac_h ([15:8]) address: 0x64 - 0x65 (100 - 101) type: r/w software reset: 0x46 | 0x5b hardware reset: 0xna | 0x5b the registers are considered logically concatenated and contain the fractional values for the pll, used to select the internal configuration. after reset, the values are na, and the operational setting are done when the mpeg synchronisation is achieved. the following formula describes the relationships among all the STA015 fractional pll parameters: where: frac=256 x frac_h + frac_l (decimal) these registers are a reference for 48 / 24 / 12 / 32 / 16 / 8khz audio. frame_cnt_l frame_cnt_m frame_cnt_h msb lsb b7 b6 b5 b4 b3 b2 b1 b0 pf7 pf6 pf5 pf4 pf3 pf2 pf1 pf0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 pf15 pf14 pf13 pf12 pf11 pf10 pf9 pf8 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 fc7 fc6 fc5 fc4 fc3 fc2 fc1 fc0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 fc15 fc14 fc13 fc12 fc11 fc10 fc9 fc8 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 fc23 fc22 fc21 fc20 fc19 fc18 fc17 fc16 o clk_freq 1 x1 + ------------- mclk_freq n1 + ----------------------------------- - m1 frac 65536 ----------------- ++ ?? =
35/55 STA015 STA015b STA015t address: 0x67, 0x68, 0x69 (103 - 104 - 105) type: ro software reset: 0x00 hardware reset: 0x00 the three registers are considered logically concatenated and compose the global frame counter as de- scribed in the table. it is updated at every decoded mpeg frame. the registers are reset on both hardware and software reset. average_bitrate address: 0x6a (106) type: ro software reset: 0x00 hardware reset: 0x00 average_bitrate is a read-only register and it contains the average bitrate of the incoming bitstream divided by two. the value is rounded with an accuracy of 1 kbit/sec. softversion address: 0x71 (113) type: ro after the STA015 boot, this register contains the version code of the embedded software. run address: 0x72 (114) type: rw software reset: 0x00 hardware reset: 0x00 setting this register to 1, STA015 leaves the idle state, starting the decoding process. the microcontroller is allowed to set the run flag, once all the control registers have been initialized. msb lsb b7 b6 b5 b4 b3 b2 b1 b0 ab7 ab6 ab5 ab4 ab3 ab2 ab1 ab0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 sv7 sv6 sv5 sv4 sv3 sv2 sv1 sv0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxxrun
STA015 STA015b STA015t 36/55 treble_frequency_low address: 0x77 (119) type: rw software reset: 0x00 hardware reset: 0x00 treble_frequency_high address: 0x78 type: rw software reset: 0x00 hardware reset: 0x00 the registers treble_frequency-high and treble_frequency-low, logically concatenated as a 16 bit wide register, are used to select the frequency, in hz, where the selected frequency is +12db respect to the stop band. by setting these registers, the following rule must be kept: treble_freq < fs/2 bass_frequency_low address: 0x79 (121) software reset: 0x00 hardware reset: 0x00 bass_frequency_high address: 0x7a (122) software reset: 0x00 hardware reset: 0x00 the registers bass_frequency_high and bass_frequency_low, logically concatenated as a 16 bit wide register, are used to select the frequency, in hz, where the selected frequency is -12db respect to the pass-band. by setting the bass_frequency registers, the following rules must be kept: msb lsb b7 b6 b5 b4 b3 b2 b1 b0 tf7 tf6 tf5 tf4 tf3 tf2 tf1 tf0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 tf15 tf14 tf13 tf12 tf11 tf10 tf9 tf8 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 bf7 bf6 bf5 bf4 bf3 bf2 bf1 bf0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 bf15 bf14 bf13 bf12 bf11 bf10 bf9 bf8
37/55 STA015 STA015b STA015t bass_freq <= treble_freq bass_freq > 0 (suggested range: 20 hz < bass_freq < 750 hz) example: bass = 200hz treble = 3khz tfs bfs treble_enhance address: 0x7b (123) software reset: 0x00 hardware reset: 0x00 signed number (2 complement) this register is used to select the enhancement or attenuation STA015 has to perform on treble frequen- cy range at the digital signal. a decrement (increment) of a decimal unit corresponds to a step of attenuation (enhancement) of 1.5db. the allowed attenuation/enhancement range is [-18db, +18db]. 1514131211109876543210 0000101110111000 1514131211109876543210 0000000011001000 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 te7 te6 te5 te4 te3 te2 te1 te0 msb lsb enhance/attenuation b7 b6 b5 b4 b3 b2 b1 b0 1.5db step 00001100 +18 00001011 +16.5 00001010 +15 00001001 +13.5 : : 00000001 +1 00000000 0 11111111 -1 : : 11110111 +13.5 11110110 -15 11110100 -16.5 11110100 -18
STA015 STA015b STA015t 38/55 bass_enhance address: 0x7c (1240 software reset: 0x00 hardware reset: 0x00 signed number (2 complement) this register is used to select the enhancement or attenuation STA015 has to perform on bass frequency range at the digital signal. a decrement (increment) of a decimal unit corresponds to a step of attenuation (enhancement) of 1.5db. the allowed attenuation/enhancement range is [-18db, +18db]. tone_atten address: 0x7d (125) type: rw software reset: 0x00 hardware reset: 0x00 in the digital output audio, the full signal is achieved with 0 db of attenuation. for this reason, before ap- plying bass & treble control, the user has to set the tone_atten register to the maximum value of en- msb lsb b7 b6 b5 b4 b3 b2 b1 b0 be7 be6 be5 be4 be3 be2 be1 be0 msb lsb enhance/attenuation b7 b6 b5 b4 b3 b2 b1 b0 1.5db step 00001100 +18 00001011 +16.5 00001010 +15 00001001 +13.5 : : 00000001 +1 00000000 0 11111111 -1 : : 11110111 +13.5 11110110 -15 11110100 -16.5 11110100 -18 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 ta7 ta6 ta5 ta4 ta3 ta2 ta1 ta0
39/55 STA015 STA015b STA015t hancement is going to perform. for example, in case of a 0 db signal (max. level) only attenuation would be possible. if enhancement is desired, the signal has to be attenuated accordingly before in order to reserve a margin in db. an increment of a decimal unit corresponds to a tone attenuation step of 1.5db. ancillary data buffer address: 0x7e - 0xb5 (126 - 181) type: ro software reset: 0x00 hardware reset: 0x00 the STA015 contains 56 consecutive 8-bit registers corresponding to the maximum number of ancillary data that may be contained in mpeg frame. the anccount_l and ancount_h registers contain the number of ancillary data bits available within the current mpeg frame. to perform ancillary data reading a status register (0xb6 - interrupt_status_register) is avail- able: bit 0 of this register should be polled by the microcontroller in order to understand when new data are available. isr address: 0xb6 (182) type: r/w software reset: 0x00 ms b l sb at tenu ati on b7 b6 b5 b4 b3 b2 b1 b0 1.5db step 00000000 0db 00000001 -1.5db 00001010 3db 00000011 4.5db : : 00001010 -15 00001011 -16.5 00001100 -18 0x7e anc_data_1 ....... ....... ....... ....... ....... ....... 0xb5 anc_data_56 0xb6 isr
STA015 STA015b STA015t 40/55 hardware reset: 0x00 x = don?t care; 0 = no ancillary data 1 = ancillary data available the isr is used by the microcontroller to understand when a new ancillary data block is available. after all ancillary dat a has been retrieved this bit must be cleared. adpcm_config address: 0xb8 (184) type: r/w software reset: 0x00 hardware reset: 0x00 this register controls adpcm engine and how data must be compressed. afm_en adpcm frame mode enable 0 = no frames (raw format) 1 = select the framed output format for adpcm encoded data asm_en: adpcm stereo mode enable 0 = disable stereo mode 1 = enable stereo mode aa0,aa1: adpcm algorithm selection the adpcm encoding/decoding algorithm can be selected according to the following table: the above bitrates refers to an 8 khz 16 bits mono input stream. please note that 32khz stereo mode is only available (both in encoding and decoding) with dvi algorithm msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxx0 1 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 x x x x aa1 aa0 asm_en afm_en aa1 aa0 0 0 dvi algorithm 0 1 g723-24 algorithm (24kbp/s) 1 0 g721 algorithm (32kbp/s) 1 1 g723-40 algorithm (40kbp/s)
41/55 STA015 STA015b STA015t gpso_enable address: 0xb9 (185) type: r/w software reset: 0x00 hardware reset: 0x00 this register enable/disable the gpso interface. setting the gen bit will enable the serial interface for adpcm data retrieving. reset gen bit to disable gpso interface. gpso_conf address: 0xba (186) type: r/w software reset: 0x00 hardware reset: 0x00 gsp: gpso clock polarity sing this bit the gpso_sckr polarity can be controlled. clearing gsp bit data on gpso_data line will be provided on the rising edge of gpso_sckr (sampling on falling edge). setting gsp bit data are provided on falling edge of gpso_sckr (sampling on rising edge) grp: gpso request polarity this bit is used to determine the polarity of gpso_req signal. if grp bit is cleared data are valid on gpso_req signal high. if this bit is set data are valid on gpso_req signal low adc_enable address: 0xbb (187) type: r/w software reset: 0x00 hardware reset: 0x00 this register controls if the adpcm data to be encoded comes from a/d interface or from mp3 bitstream input interface. if adcen bit is set data to be encoded comes from adc interface, otherwise data comes from mp3 stream interface msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxxgen msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxgrpgsp msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxxadcen
STA015 STA015b STA015t 42/55 adc_conf address: 0xbc (188) type: r/w software reset: 0x00 hardware reset: 0x00 using this register the adc input interface can be configured as follow: aiis: adc i 2 s mode 0 = sample word must be aligned with lrck (no i 2 s mode) 1 = sample word not aligned with lrck (i 2 s compliant mode) adc: adc data config. 0 = sample word is lsb first 1 = sample word is msb first ascp: adc serial clock polarity 0 = data is sampled on rising edge 1 = data is sampled an falling edge alrcp: adc left/right clock polarity alrcs: adc left/right clock start value. this two bits permit to determine left/right clock usage according to the following table: msb lsb b7 b6 b5 b4 b3 b2 b1 b0 x x x alrcs alrcp ascp adc aiis alrcp alrcs left/right couple 0 0 (data1, data2) (data3, data4) 1 0 (0, 1) (2, 3) 0 1 (0, 1) (2, 3) 1 1 (1, 2) (3, 4) data 0 l rck d ata data 1 data 2 data 3 data 4 d99au1065
43/55 STA015 STA015b STA015t adpcm_frame_size address: 0xbd (189) type: r/w software reset: 0x13 hardware reset: 0x00 the adpcm frame size may be adjusted to match a trade-off between the bitrate overhead and the frame length. the frame size (in bytes) is calculated as follow: frame size = (adpcm_frame_size * 90) +108 the frame starts with a 12 bytes header: ? 6 bytes for dvi algorithm ? 96 bytes for g726 pack algorithms adpcm_int_cfg address: 0xbe (190) type: r/w software reset: 0x0b hardware reset: 0x00 using this register the adpcm interrupt capability can be properly configured. intl0 - intl6 interrupt length he interrupt length can be programmed, using this bits, from 0 up to 128 system clock cycles gpio_conf address: 0xbf (191) type: r/w software reset: 0x00 hardware reset: 0x00 this register controls how data are strobed on the gpio interface. gisp: gpio strobe polarity in input mode 0 = data strobed an falling edge 1 = data strobed on rising edge gosp: gpio strobe polarity in output mode 0 = non inverted 1 = inverted msb lsb b7 b6 b5 b4 b3 b2 b1 b0 afs7 afs6 afs5 afs4 afs3 afs2 afs1 afs0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 intl6 intl5 intl4 intl3 intl2 intl1 intl0 x msb lsb b7 b6 b5 b4 b3 b2 b1 b0 xxxxxxgospgisp
STA015 STA015b STA015t 44/55 adc_wlen address: 0xc0 (192) type: r/w software reset: 0x0f hardware reset: 0x0f to select adc word length awl4 through awl0 bits can be used. this 5 bit value must contain the size of the significant data bits minus one. adc_wpos address: 0xc1 (193) type: r/w software reset: 0x00 hardware reset: 0x00 these bits specify the position of the sample word referred to the lrck slot boundary. bit awp0 thru awp4 must be programmed with the number of bits to ignore after the sample word. adpcm_skip_frame address: 0xc2 (194) type: r/w software reset:0x00 hardware reset: 0x00 this register is useful when decoding adpcm frame-based streams in order to skip the specified number of frames. the content of the register will automatically be decremented on each new frame and the skip process will continue until the content reaches zero. msb lsb b7 b6 b5 b4 b3 b2 b1 b0 x x x awl4 awl3 awl2 awl1 awl0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 x x x awp4 awp3 awp2 awp1 awp0 msb lsb b7 b6 b5 b4 b3 b2 b1 b0 asf7 asf6 asf5 asf4 asf3 asf2 asf1 asf0
45/55 STA015 STA015b STA015t 6.2 i/o cell description (pinout relative to tqfp44 package) 1) cmos tristate output pad buffer, 4ma, with slew rate control / pin numbers 2, 4, 13, 27, 33, 42, 44 2) cmos bidir pad buffer, 4ma, with slew rate control / pin numbers 3, 31 3) cmos inpud pad buffer / pin numbers 24, 26, 32, 34, 36, 40 4) cmos inpud pad buffer with active pull-up / pin numbers 22, 25, 28, 38 5) cmos schmitt trigger bidir pad buffer with active pull-up, 4ma, with slew rate control/ pin numbers 14, 16, 18, 20, 35, 37, 39, 41, 43 en a d98au904 z output pin max load z 100pf en a d98au905 zi io input pin capacitance output pin max load io 5pf io 100pf a d98au906 z input pin capacitance a 3.5pf a d98au907 z input pin capacitance a 3.5pf e n a d00au115 0 zi i o input pin capacitance output pin max load io 5pf io 100pf
STA015 STA015b STA015t 46/55 6.3 timing diagrams 6.3.1 audio dac interface a) oclk in output. the audio pll is used to clock the dac t sdo = 3.5 + pad_timing (cload_sdo) - pad_timing (cload_ oclk) tsckt = 4 + pad_timi ng (cload_sckt) - pad_timing (cload_ oclk) tlrckt = 3.5 + pad_timing (cload_lrcckt) - pad_timing (cload_ oclk) pad-timing versus load cload_xxx is the load in pf on the xxx output. pad_timing (cload_xxx) is the propagation delay added to the xxx pad due to the load. b) oclk in input . load (pf) pad_timing 25 2.90ns 50 3.82ns 75 4.68ns 100 5.52ns oclk (output) sdo sckt lrclk t sdo t sckt t lrclk d98au969 oclk (input) sdo sckt lrclk t sdo t sckt t lrclk d98au970 t hi t lo t oclk
47/55 STA015 STA015b STA015t thi min = 3ns tlo min = 3ns toclk min = 25ns tsdo = 5.5 + pad_timing (cload_sdo) ns tsckt = 6 + pad_tim ing (cload_sckt) ns tlrckt = 5.5 + pad_timing (cload_lrckt) ns 6.3.2 bitstream input interface (sdi, sckr, bit_en) scl_pol = 0 6.3.3 bitstream input interface (sdi, sckr, bit_en) scl_pol = 1 tsdi_setup_min = 2ns tsdi_hold_min = 3ns tsckr_mi n_hi = 10ns tsckr_min_l ow = 10ns tsckr_min_lperiod = 50ns t_biten (min) = 2ns 6.3.4 src_int this is an asynchronous input used in "broadcast? mode. src_int is active low t_src_low min duration is 50ns (1dsp clock period) t_src_high min duration is 50ns (1dsp clock period) sdi s ckr ignored valid ignored t _biten t _biten t sdi_hold t sdi_setup d98au971a t sckr_min_high bit_en sclk_pol= 0 t sckr_min_low t sckr_min_period sdi s ckr ignored ignored valid ignored t _biten t _biten t sdi_hold t sdi_setup d99au1038 t sckr_min_high bit_en sclk_pol= 4 t sckr_min_low t sckr_min_period src_int d98au972 t _src_hi t _src_low
STA015 STA015b STA015t 48/55 6.3.5 xti,xto and clk_out timings txto = 1.40 + pad_timing (cload_xto) ns tclk_out = 4 + pad_timing (cload_clk_out) ns note: in "multimedia" mode, the clk_out pad is data_req. in that case, no timing is given between the xti input and this pad. 6.3.6 reset the reset min duration (t_reset_low_min) is 100ns 6.4 configuration flow example xti (input) xto clk_out t xto t clk_out d98au973 t hi t lo reset d98au974 t reset_low_min hw reset set pcm output interface configuration set set pcm-divider pcm-conf. pll frac_441_h, pll frac_441_l, pll frac_h, pll frac_l } { set mfs df_441, mfsdf } { pll configuration for: set pll ctrl 48, 44.1, 32 29, 22.05, 16 12, 11.025, 8 } khz ? { set sckr_pol input serial clock polarity configuration set chip_mode select operational mode set req_pol data request polarity configuration run set ? multimedia mode see {tab 5 to tab12} d00au1146a
49/55 STA015 STA015b STA015t table 2. pll configuration sequence for 10mhz input clock 256 oversapling clock table 3. pll configuration sequence for 10mhz input clock 384 oversapling rathio table 4. pll configuration sequence for 14.31818mhz input clock 256 oversapling rathio table 5. pll configuration sequence for 14.31818mhz input clock 384 oversapling rathio register address name value 6 reserved 18 11 reserved 3 97 mfsdf (x) 15 80 mfsdf-441 16 101 pllfrac-h 169 82 pllfrac-441-h 49 100 pllfrac-l 42 81 pllfrac-441-l 60 5 pllctrl 161 register address name value 6 reserved 17 11 reserved 3 97 mfsdf (x) 9 80 mfsdf-441 10 101 pllfrac-h 110 82 pllfrac-441-h 160 100 pllfrac-l 152 81 pllfrac-441-l 186 5 pllctrl 161 register address name value 6 reserved 12 11 reserved 3 97 mfsdf (x) 15 80 mfsdf-441 16 101 pllfrac-h 187 82 pllfrac-441-h 103 100 pllfrac-l 58 81 pllfrac-441-l 119 5 pllctrl 161 register address name value 6 reserved 11 11 reserved 3 97 mfsdf (x) 6 80 mfsdf-441 7 101 pllfrac-h 3 82 pllfrac-441-h 157 100 pllfrac-l 211 81 pllfrac-441-l 157 5 pllctrl 161
STA015 STA015b STA015t 50/55 table 6. pll configuration sequence for 14.31818mhz input clock 512 oversapling rathio table 7. pll configuration sequence for 14.7456mhz input clock 256 oversapling rathio table 8. pll configuration sequence for 14.7456mhz input clock 384 oversapling rathio table 9. pll configuration sequence for 14.7456mhz input clock 512 oversapling rathio register address name value 6 reserved 11 11 reserved 3 97 mfsdf (x) 6 80 mfsdf-441 7 101 pllfrac-h 3 82 pllfrac-441-h 157 100 pllfrac-l 211 81 pllfrac-441-l 157 5 pllctrl 161 register address name value 6 reserved 12 11 reserved 3 97 mfsdf (x) 15 80 mfsdf-441 16 101 pllfrac-h 85 82 pllfrac-441-h 4 100 pllfrac-l 85 81 pllfrac-441-l 0 5 pllctrl 161 register address name value 6 reserved 10 11 reserved 3 97 mfsdf (x) 8 80 mfsdf-441 9 101 pllfrac-h 64 82 pllfrac-441-h 124 100 pllfrac-l 0 81 pllfrac-441-l 0 5 pllctrl 161 register address name value 6 reserved 9 11 reserved 2 97 mfsdf (x) 5 80 mfsdf-441 6 101 pllfrac-h 0 82 pllfrac-441-h 184 100 pllfrac-l 0 81 pllfrac-441-l 0 5 pllctrl 161
51/55 STA015 STA015b STA015t 6.5 STA015 configuration file format the STA015 configuration file is an ascii format. an example of the file format is the following: 58 1 42 4 128 15 ............ it is a sequence of rows and each one can be interpreted as an i 2 c command. the first part of the row is the i 2 c address (register) and the second one is the i 2 c data (value). to download the STA015 configu- ration file into the device, a sequence of write operation to STA015 i 2 c interface must be performed. the following program describes the i 2 c routine to be implemented for the configuration driver: STA015 configuration code (pseudo code) download cfg - file { fopen (cfg_file); fp:=1; /*set file pointer to first row */ do { i 2 c_start_cond; /* generate i 2 c start condition for STA015 device address */ i 2 c_write_dev_addr; /* write STA015 device address */ i 2 c_write_subaddress (fp); /* write subaddress */ i 2 c_write_data (fp); /* write data */ i 2 c_stop_cond; /* generate i 2 c stop condition */ fp++; /* update pointer to new file row */ } while (!edf) /* repeat until end of file */ } /* end routine */ note: 1. STA015 is a device based on an integrated dsp core. some of the i 2 c registers default values are loaded after an internal dsp boot operation. the bootstrap time is 60 micro second. only after this time lenght, the data in the register can be considered stable . 2. refer also to the application note an1250 42 4 i 2 c register value i 2 c sub-address d98au976
STA015 STA015b STA015t 52/55 so28 dim. mm inch min. typ. max. min. typ. max. a 2.65 0.104 a1 0.1 0.3 0.004 0.012 b 0.35 0.49 0.014 0.019 b1 0.23 0.32 0.009 0.013 c 0.5 0.020 c1 45 (typ.) d 17.7 18.1 0.697 0.713 e 10 10.65 0.394 0.419 e 1.27 0.050 e3 16.51 0.65 f 7.4 7.6 0.291 0.299 l 0.4 1.27 0.016 0.050 s8 (max.) outline and mechanical data
53/55 STA015 STA015b STA015t outline and mechanical data dim. mm inch min. typ. max. min. typ. max. a 1.60 0.063 a1 0.05 0.15 0.002 0.006 a2 1.35 1.40 1.45 0.053 0.055 0.057 b 0.30 0.37 0.45 0.012 0.015 0.018 c 0.09 0.20 0.004 0.008 d 11.80 12.00 12.20 0.464 0.472 0.480 d1 9.80 10.00 10.20 0.386 0.394 0.401 d3 8.00 0.315 e 11.80 12.00 12.20 0.464 0.472 0.480 e1 9.80 10.00 10.20 0.386 0.394 0.401 e3 8.00 0.315 e 0.80 0.031 l 0.45 0.60 0.75 0.018 0.024 0.030 l1 1.00 0.039 k 0?(min.), 3.5?(typ.), 7?(max.) tqfp44 (10 x 10 x 1.4mm) a a2 a1 b seating plane c 11 12 22 23 33 34 44 e1 e d1 d e 1 k b tqfp4410 l 0.10mm .004 0076922 d
STA015 STA015b STA015t 54/55 outline and mechanical data d1 d a 0.15 a1 a2 e f f a 1 2 3 4 5 6 7 8 b c d e f g h e1 b (64 places) e ball 1 identification lfbga64m dim. mm inch min. typ. max. min. typ. max. a 1.700 0.067 a1 0.350 0.400 0.450 0.014 0.016 0.018 a2 1.100 0.043 b 0.500 0.20 d 8.000 0.315 d1 5.600 0.220 e 0.800 0.031 e 8.000 0.315 e1 5.600 0.220 f 1.200 0.047 lfbga64 body: 8 x 8 x 1.7mm
information furnished is believed to be accurate and reliable. however, stmicroelectronics assumes no responsibility for the co nsequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. no license is granted by implication or otherwise under any patent or patent rights of stmicroelectronics. specifications mentioned in this publicati on are subject to change without notice. this publication supersedes and replaces all information previously supplied. stmicroelectronics prod ucts are not authorized for use as critical components in life support devices or systems without express written approval of stmicroelectro nics. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners ? 2004 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states www.st.com 55/55 STA015 STA015b STA015t


▲Up To Search▲   

 
Price & Availability of STA015

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X